combobox: Don't add .linked
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Nov 2015 00:14:38 +0000 (19:14 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 Nov 2015 02:59:56 +0000 (21:59 -0500)
It interferes with getting the desired styling for combo boxes
with an entry, and is not needed.

gtk/gtkcombobox.c

index 2b6344a730814cc1bd1e0f03f409ac1fc04b46a4..0831ce69653a13958e1a30387c3395a0f44161cb 100644 (file)
@@ -4399,9 +4399,6 @@ gtk_combo_box_constructed (GObject *object)
       context = gtk_widget_get_style_context (GTK_WIDGET (entry));
       gtk_style_context_add_class (context, "combo");
 
-      context = gtk_widget_get_style_context (GTK_WIDGET (combo_box));
-      gtk_style_context_add_class (context, "linked");
-
       priv->text_renderer = gtk_cell_renderer_text_new ();
       gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box),
                                   priv->text_renderer, TRUE);